Skip to main content

Interface: InputConstraintSet

Hierarchy

  • MediaTrackConstraints

    InputConstraintSet

Properties

advanced

Optional advanced: MediaTrackConstraintSet[]

Inherited from

MediaTrackConstraints.advanced


asd

Optional asd: ConstrainBoolean

Audio Signal Detection for the purpose of checking if the audio input is hardware muted or unusable


aspectRatio

Optional aspectRatio: ConstrainDouble

Inherited from

MediaTrackConstraints.aspectRatio


autoGainControl

Optional autoGainControl: ConstrainBoolean

Inherited from

MediaTrackConstraints.autoGainControl


backgroundBlurAmount

Optional backgroundBlurAmount: ConstrainULong

Blur size/level parameter when using video segmentation with blur effects


backgroundImageUrl

Optional backgroundImageUrl: ConstrainDOMString

Image Url that is being used for video overlay effects


channelCount

Optional channelCount: ConstrainULong

Inherited from

MediaTrackConstraints.channelCount


contentHint

Optional contentHint: ConstrainDOMString

Content Hint for the track to apply


denoise

Optional denoise: ConstrainBoolean

Whether or not using our own noise suppression


device

Optional device: DeviceConstraint | ConstraintDeviceParameters

Same purpose as deviceId but it gives more information about the device so that we can have extra tolerance on device selection


deviceId

Optional deviceId: ConstrainDOMString

Inherited from

MediaTrackConstraints.deviceId


displaySurface

Optional displaySurface: ConstrainDOMString

Inherited from

MediaTrackConstraints.displaySurface


echoCancellation

Optional echoCancellation: ConstrainBoolean

Inherited from

MediaTrackConstraints.echoCancellation


edgeBlurAmount

Optional edgeBlurAmount: ConstrainULong

Blur amount applied to the segmented person's edge


facingMode

Optional facingMode: ConstrainDOMString

Inherited from

MediaTrackConstraints.facingMode


foregroundThreshold

Optional foregroundThreshold: ConstrainDouble

Erode level for edge smoothing when using video segmentation


frameRate

Optional frameRate: ConstrainDouble

Inherited from

MediaTrackConstraints.frameRate


groupId

Optional groupId: ConstrainDOMString

Inherited from

MediaTrackConstraints.groupId


height

Optional height: ConstrainULong

Inherited from

MediaTrackConstraints.height


latency

Optional latency: ConstrainNumber

Inherited from

MediaTrackConstraints.latency


maskCombineRatio

Optional maskCombineRatio: ConstrainDouble

The ratio to be used for smoothing segmentation mask


mixWithAdditionalMedia

Optional mixWithAdditionalMedia: ConstrainBoolean

Audio Signal Detection for the purpose of checking if the audio input is hardware muted or unusable


noiseSuppression

Optional noiseSuppression: ConstrainBoolean

Inherited from

MediaTrackConstraints.noiseSuppression


pan

Optional pan: boolean

Current pan, tilt and zoom level for a PTZ controllable camera on web


resizeMode

Optional resizeMode: ConstrainDOMString

Image Url that is being used for video overlay effects


sampleRate

Optional sampleRate: ConstrainULong

Inherited from

MediaTrackConstraints.sampleRate


sampleSize

Optional sampleSize: ConstrainULong

Inherited from

MediaTrackConstraints.sampleSize


tilt

Optional tilt: boolean


vad

Optional vad: ConstrainBoolean

Voice Activity Detection


videoSegmentation

Optional videoSegmentation: ConstrainDOMString

Whether or not using video segmentation, e.g. background blur/replacement, to specify the effects, intended to be applied to the segment. Available effects are none, blur, overlay or remove


videoSegmentationModel

Optional videoSegmentationModel: ConstrainDOMString

Segmentation model to be used for video segmentation, currently only supports mediapipeSelfie and personify


volume

Optional volume: ConstrainNumber

Inherited from

MediaTrackConstraints.volume


width

Optional width: ConstrainULong

Inherited from

MediaTrackConstraints.width


zoom

Optional zoom: boolean